package com.useage.day02;

import com.useage.day01.Teacher;

public class Boy {
	
	private String name;

	private Dog dog;
	
	private Teacher teacher;

	public Boy() {
	}

	public Boy(Teacher teacher, Dog dog) {
		this.teacher = teacher;
		this.dog = dog;
	}

	
	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getName() {
		return this.name;
	}
	
	public Dog getDog() {
		
		return dog;
	}

	public void setDog(Dog dog) {
		this.dog = dog;
	}
}
